Skip to content

Negative Tests and Fenrir Fixes#389

Merged
ColtonWilley merged 8 commits intowolfSSL:masterfrom
aidangarske:fenrir-fixes-2
May 7, 2026
Merged

Negative Tests and Fenrir Fixes#389
ColtonWilley merged 8 commits intowolfSSL:masterfrom
aidangarske:fenrir-fixes-2

Conversation

@aidangarske
Copy link
Copy Markdown
Member

F-2169, F-2222, F-2223, F-2041, F-2224, F-2225, F-2226, F-2235

@aidangarske aidangarske self-assigned this Apr 7, 2026
Copilot AI review requested due to automatic review settings April 7, 2026 21:21

This comment was marked as resolved.

…orrectly setting SEED-SRC state to UNINITIALISED
…decryption test with tampered authentication tag
…decryption test with tampered authentication tag
- wp_ecx_kmgmt.c — Added bounds guard (outLen < 2 / p->data_size < outLen) before unclamped byte restoration
- test_hkdf.c — Added mdSize <= 0 early-return check after EVP_MD_get_size
- test_aestag.c — Changed sizeof(aad) / sizeof(pt) to exclude trailing NUL in both GCM and CCM helpers (encrypt + decrypt AAD, and ptLen)
- unit.h — Added /* WP_HAVE_X25519 */ comment to #endif
- test_rand_seed.c const cast — Skipped; (char*) is the established pattern in this file (4 pre-existing instances)
@ColtonWilley ColtonWilley merged commit f3632b7 into wolfSSL:master May 7, 2026
371 of 376 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants